﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VLUSM_BusinessLogic.Helpers
{
    /// <summary>String Format for DateTime.
    /// </summary> 
    public static class DateTimeHelper
    {
        /// <summary>Convert to Vietnamese short date format (dd/MM/yyyy).
        /// </summary> 
        public static string VNSlashShortDateFormat(DateTime obj)
        {
            return String.Format("{0:dd/MM/yyyy}", obj);
        }

        public static string ENLongDateFormat(DateTime obj)
        {
            return String.Format("{0:dddd, MMMM d yyyy}", obj);
        }
    }
}
